package com.molichuxing.gateway.bff.permission.entity.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class GroupCreateVo implements Serializable {

    @ApiModelProperty(value = "系统类型（1：op，2：经销商，3：车联网）", required = true)
    @NotNull
    private Integer groupSystemType;

    @ApiModelProperty(value = "角色名称", required = true)
    @NotEmpty
    private String groupName;

    @ApiModelProperty(value = "角色描述", required = true)
    @NotEmpty
    private String groupDesc;

    @ApiModelProperty(value = "经销商id")
    private Integer dealerId;

    @ApiModelProperty(value = "经销商名称")
    private String dealerName;

    @ApiModelProperty(value = "是否启用(0:启用，1:禁用)")
    private Integer status = 0;

    /**
     * permission_group
     */
    private static final long serialVersionUID = 1L;
}